<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>企业网盘</title>
    <jsp:include page="/static/common/easyui-header.jsp"></jsp:include>
    <script type="text/javascript" src="/static/js/views/netWorkDisk.js"></script>

    <script>
        $(function () {
            $("#main_tree").tree({
                url: "/static/netWokMenu/newWorkMenu.json",
                animate: true,
                lines: true,
                onClick: function (node) {
                    if (!node.url) {
                        $("#main_tree").tree("toggle", node.target);
                    } else {
                        //如果已经存在,选中
                        if ($("#main_tabs").tabs("exists", node.text)) {
                            $("#main_tabs").tabs("select", node.text);
                        } else {
                            $("#main_tabs").tabs("add", {
                                title: node.text,
                                closable: true,
                                content: '<iframe src="' + node.url + '" width="99%" height="99%" iframeborder="0"></iframe>'
                            });
                        }
                    }
                }
            });
        });
    </script>
</head>
<body>
    <div id="main_layout" class="easyui-layout" fit="true">
        <div data-options="region:'north'" style="height:70px;">
            <div style="padding-left: 20px;float: left;width: 13%">
                <img src="/static/images/netWorkDisk.jpg" style="width: 90px;height: 65px">
            </div>
            <div style="float: left;width: 53%">
                <%--<h1>欢迎来到全球最大企业网盘</h1>--%>
            </div>
            <div style="float: right;padding-right: 30px" >
                <h2>教育让生活更美好</h2>
            </div>
        </div>
        <div data-options="region:'south'" style="text-align: center;padding: 10px">
            版权所有@盗版必究
        </div>

        <div data-options="region:'west',title:'菜单'" style="width:200px;">
            <ul id="main_tree"></ul>
        </div>

        <div data-options="region:'center'" border="false">
            <div id="main_tabs" class="easyui-tabs" fit="true">
                <div title="首页" closable="true">
                    <img src="/static/images/haozhao.jpg" style="width: 1079px;height: 460px">
                </div>
            </div>
        </div>
    </div>
</body>
</html>
